package com.crx.springbootinit.model.dto.post;

import com.crx.springbootinit.model.dto.map.Coordinate;
import com.crx.springbootinit.model.dto.page.PageQuery;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("帖子分页查询条件")
public class PostUserPageDTO extends PageQuery {

    @ApiModelProperty(value = "搜索的坐标点")
    private Coordinate searchCoordinates;

    @ApiModelProperty(value = "推荐/附近/最新")
    private String criteria;

    @ApiModelProperty(value = "自己的坐标")
    private Coordinate ownCoordinates;
}
